﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RentHouse.DTO;
using RentHouse.IService;

namespace RentHouse.IService
{
    public interface IRolesService : IServiceSupport
    {


        /// <summary>
        /// 查全部
        /// </summary>
        /// <returns></returns>
        Dictionary<string, object> GetList(int page, int limit);
        /// <summary>
        /// 添加
        /// </summary>
        string Create(RolesDTO rolesDTO);
        /// <summary>
        /// 删除
        /// </summary>
        string Delete(RolesDTO rolesDTO);
        /// <summary>
        /// 用户修改
        /// </summary>
        string Update(RolesDTO rolesDTO);
    }
}
